package com.sailing.xjpb.log.entity.dto;

import lombok.Data;


/**
 * 日志实体类
 *
 * @author sutao
 * createDate 2022/9/7 17:59
 */
@Data
public class LogRecord {
    /**
     * 机构ID
     */
    private String orgId;
    /**
     * 系统ID
     */
    private String systemId;
    /**
     * 用户ID
     */
    private String userId;
    /**
     * 操作时间
     */
    private String operateTime;
    /**
     * 请求ID
     */
    private String requestIp;
    /**
     * 操作类型
     */
    private String operateType;
    /**
     * 操作名称
     */
    private String operateName;
    /**
     * 操作模块
     */
    private String operateModule;
    /**
     * 操作方法
     */
    private String operateFunction;
    /**
     * 操作结果
     */
    private String operateResult;
    /**
     * 错误编码
     */
    private String errorCode;
    /**
     * 操作情景
     */
    private String operateCondition;
    /**
     * 返回结果
     */
    private Object returnResult;
    /**
     * uri
     */
    private String uri;
    /**
     * 登录名
     */
    private String loginName;
    /**
     * 请求源
     */
    private String origin;

    @Override
    public String toString() {
        return "LogRecord{" +
                "orgId='" + orgId + '\'' +
                ", userId='" + userId + '\'' +
                ", operateTime='" + operateTime + '\'' +
                ", requestIp='" + requestIp + '\'' +
                ", operateType='" + operateType + '\'' +
                ", operateName='" + operateName + '\'' +
                ", operateModule='" + operateModule + '\'' +
                ", operateFunction='" + operateFunction + '\'' +
                ", operateCondition='" + operateCondition + '\'' +
                ", uri='" + uri + '\'' +
                '}';
    }
}
